<?php
/*--------------------------------------------------------------
   legacy_content_manager_removal.php 2023-02-03
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2023 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
 -------------------------------------------------------------*/

/** @var DatabaseModel $this */
/** @var int $t_success */

$query = <<<SQL
DELETE FROM `admin_access_group_items` WHERE `identifier` = 'content_manager' AND `type` = 'PAGE'
SQL;

$t_success &= $this->query($query, true);